<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>aiengine: xaiegbl.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">aiengine
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xaiegbl_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a>  </div>
  <div class="headertitle">
<div class="title">xaiegbl.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>} </p>
<p>Header to include type definitions for the register bit field definitions of Core, Memory, NoC and PL module registers.</p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who     Date     Changes
</p>
<hr/>
<p>
1.0  Naresh  03/14/2018  Initial creation
1.1  Naresh  07/11/2018  Updated copyright info
1.2  Naresh  08/13/2018  Added Done attributes to CoreStsReg
1.3  Hyun    10/02/2018  Added performance counter registers
1.4  Hyun    10/02/2018  Added event registers
1.5  Hyun    10/03/2018  Added event port select registers
1.6  Hyun    10/12/2018  Added the column reset register
1.7  Nishad  12/05/2018  Renamed ME attributes to AIE
1.6  Hyun    12/13/2018  Added the core PC event registers
1.9  Jubaer  02/26/2019  Added the Group Event registers
2.0  Hyun    07/01/2019  Added XAIETILE_TIMER_MODULE_* macros
2.1  Wendy   12/18/2019  Added timer control and timer events macros
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_aie_gbl___tile.html">XAieGbl_Tile</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information of the tiles.  <a href="struct_x_aie_gbl___tile.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_aie_gbl___config.html">XAieGbl_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for the device.  <a href="struct_x_aie_gbl___config.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_aie_gbl___event_handler_st.html">XAieGbl_EventHandlerSt</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct XAieGbl_EventHandler - AIE event handler  <a href="struct_x_aie_gbl___event_handler_st.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_aie_gbl___error_handler_st.html">XAieGbl_ErrorHandlerSt</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct XAieGbl_ErrorHandler - AIE error handler  <a href="struct_x_aie_gbl___error_handler_st.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_aie_gbl.html">XAieGbl</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The XAie driver instance data.  <a href="struct_x_aie_gbl.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_aie_gbl___hw_cfg.html">XAieGbl_HwCfg</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains the HW configuration data for the AIE array.  <a href="struct_x_aie_gbl___hw_cfg.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38e051514f617efcf9fcd7c149686d4e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaiegbl_8h.html#a38e051514f617efcf9fcd7c149686d4e">XAieGbl_ErrorHandleStatus</a> </td></tr>
<tr class="memdesc:a38e051514f617efcf9fcd7c149686d4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">enum XAieGbl_ErrorHandleStatus - error handled status  <a href="xaiegbl_8h.html#a38e051514f617efcf9fcd7c149686d4e">More...</a><br/></td></tr>
<tr class="separator:a38e051514f617efcf9fcd7c149686d4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2853bdacefdcc7dfdad52035b5a05b8"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_x_aie_gbl___tile.html">XAieGbl_Tile</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaiegbl_8h.html#af2853bdacefdcc7dfdad52035b5a05b8">XAieGbl_Tile</a></td></tr>
<tr class="memdesc:af2853bdacefdcc7dfdad52035b5a05b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information of the tiles.  <a href="#af2853bdacefdcc7dfdad52035b5a05b8">More...</a><br/></td></tr>
<tr class="separator:af2853bdacefdcc7dfdad52035b5a05b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0898b3dbdd2ead75a9b6bf9b30c15884"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_x_aie_gbl.html">XAieGbl</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaiegbl_8h.html#a0898b3dbdd2ead75a9b6bf9b30c15884">XAieGbl</a></td></tr>
<tr class="memdesc:a0898b3dbdd2ead75a9b6bf9b30c15884"><td class="mdescLeft">&#160;</td><td class="mdescRight">The XAie driver instance data.  <a href="#a0898b3dbdd2ead75a9b6bf9b30c15884">More...</a><br/></td></tr>
<tr class="separator:a0898b3dbdd2ead75a9b6bf9b30c15884"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b8a82584030791b354e2567f944d49e"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaiegbl_8h.html#a0b8a82584030791b354e2567f944d49e">XAieTile_EventCallBack</a> )(<a class="el" href="struct_x_aie_gbl.html">XAieGbl</a> *AieInst, XAie_LocType Loc, u8 Module, u8 Event, void *Priv)</td></tr>
<tr class="memdesc:a0b8a82584030791b354e2567f944d49e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function type defines event callback.  <a href="#a0b8a82584030791b354e2567f944d49e">More...</a><br/></td></tr>
<tr class="separator:a0b8a82584030791b354e2567f944d49e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a746e2699b68aeb82e14e6acba2c3f791"><td class="memItemLeft" align="right" valign="top">typedef struct <br class="typebreak"/>
<a class="el" href="struct_x_aie_gbl___event_handler_st.html">XAieGbl_EventHandlerSt</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaiegbl_8h.html#a746e2699b68aeb82e14e6acba2c3f791">XAieGbl_EventHandler</a></td></tr>
<tr class="memdesc:a746e2699b68aeb82e14e6acba2c3f791"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct XAieGbl_EventHandler - AIE event handler  <a href="#a746e2699b68aeb82e14e6acba2c3f791">More...</a><br/></td></tr>
<tr class="separator:a746e2699b68aeb82e14e6acba2c3f791"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac921ebe961992e2d7c474703de794d7d"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="xaiegbl_8h.html#a38e051514f617efcf9fcd7c149686d4e">XAieGbl_ErrorHandleStatus</a>(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaiegbl_8h.html#ac921ebe961992e2d7c474703de794d7d">XAieTile_ErrorCallBack</a> )(<a class="el" href="struct_x_aie_gbl.html">XAieGbl</a> *AieInst, XAie_LocType Loc, u8 Module, u8 Error, void *Priv)</td></tr>
<tr class="memdesc:ac921ebe961992e2d7c474703de794d7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function type defines the error callback.  <a href="#ac921ebe961992e2d7c474703de794d7d">More...</a><br/></td></tr>
<tr class="separator:ac921ebe961992e2d7c474703de794d7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab63ace56b918c995abe7df32c1988c04"><td class="memItemLeft" align="right" valign="top">typedef struct <br class="typebreak"/>
<a class="el" href="struct_x_aie_gbl___error_handler_st.html">XAieGbl_ErrorHandlerSt</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaiegbl_8h.html#ab63ace56b918c995abe7df32c1988c04">XAieGbl_ErrorHandler</a></td></tr>
<tr class="memdesc:ab63ace56b918c995abe7df32c1988c04"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct XAieGbl_ErrorHandler - AIE error handler  <a href="#ab63ace56b918c995abe7df32c1988c04">More...</a><br/></td></tr>
<tr class="separator:ab63ace56b918c995abe7df32c1988c04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2dbe8c9e25ce298bffbc257a95ec530"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaiegbl_8h.html#ac2dbe8c9e25ce298bffbc257a95ec530">XAieGbl_HwInit</a> (<a class="el" href="struct_x_aie_gbl___hw_cfg.html">XAieGbl_HwCfg</a> *CfgPtr)</td></tr>
<tr class="memdesc:ac2dbe8c9e25ce298bffbc257a95ec530"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the routine to initialize the HW configuration.  <a href="#ac2dbe8c9e25ce298bffbc257a95ec530">More...</a><br/></td></tr>
<tr class="separator:ac2dbe8c9e25ce298bffbc257a95ec530"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6422e72b033ca8d8456af7432d1fd11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaiegbl_8h.html#ad6422e72b033ca8d8456af7432d1fd11">XAieGbl_CfgInitialize</a> (<a class="el" href="struct_x_aie_gbl.html">XAieGbl</a> *InstancePtr, <a class="el" href="struct_x_aie_gbl___tile.html">XAieGbl_Tile</a> *TileInstPtr, <a class="el" href="struct_x_aie_gbl___config.html">XAieGbl_Config</a> *ConfigPtr)</td></tr>
<tr class="memdesc:ad6422e72b033ca8d8456af7432d1fd11"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the global initialization function for all the tiles of the AIE array and also for the Shim tiles.  <a href="#ad6422e72b033ca8d8456af7432d1fd11">More...</a><br/></td></tr>
<tr class="separator:ad6422e72b033ca8d8456af7432d1fd11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23b3cabaf60670f82d0d6ccf92e2876a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_aie_gbl___config.html">XAieGbl_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xaiegbl_8h.html#a23b3cabaf60670f82d0d6ccf92e2876a">XAieGbl_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:a23b3cabaf60670f82d0d6ccf92e2876a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up the device configuration based on the unique device ID.  <a href="#a23b3cabaf60670f82d0d6ccf92e2876a">More...</a><br/></td></tr>
<tr class="separator:a23b3cabaf60670f82d0d6ccf92e2876a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a0898b3dbdd2ead75a9b6bf9b30c15884"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct_x_aie_gbl.html">XAieGbl</a> <a class="el" href="struct_x_aie_gbl.html">XAieGbl</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The XAie driver instance data. </p>
<p>The user is required to allocate a variable of this type for the AIE instance. </p>

</div>
</div>
<a class="anchor" id="ab63ace56b918c995abe7df32c1988c04"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct_x_aie_gbl___error_handler_st.html">XAieGbl_ErrorHandlerSt</a>  <a class="el" href="xaiegbl_8h.html#ab63ace56b918c995abe7df32c1988c04">XAieGbl_ErrorHandler</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>struct XAieGbl_ErrorHandler - AIE error handler </p>
<p>: Linux only, pthread ID of the user thread which registers for the callback. : Error event user callback : User registered argument which will be passed to the callback </p>

</div>
</div>
<a class="anchor" id="a746e2699b68aeb82e14e6acba2c3f791"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct_x_aie_gbl___event_handler_st.html">XAieGbl_EventHandlerSt</a>  <a class="el" href="xaiegbl_8h.html#a746e2699b68aeb82e14e6acba2c3f791">XAieGbl_EventHandler</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>struct XAieGbl_EventHandler - AIE event handler </p>
<p>: Reference count to indicate how many tiles registered for the handler : Error event user callback : User registered argument which will be passed to the callback </p>

</div>
</div>
<a class="anchor" id="af2853bdacefdcc7dfdad52035b5a05b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct_x_aie_gbl___tile.html">XAieGbl_Tile</a>  <a class="el" href="struct_x_aie_gbl___tile.html">XAieGbl_Tile</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This typedef contains configuration information of the tiles. </p>

</div>
</div>
<a class="anchor" id="ac921ebe961992e2d7c474703de794d7d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="xaiegbl_8h.html#a38e051514f617efcf9fcd7c149686d4e">XAieGbl_ErrorHandleStatus</a>(* XAieTile_ErrorCallBack)(<a class="el" href="struct_x_aie_gbl.html">XAieGbl</a> *AieInst, XAie_LocType Loc, u8 Module, u8 Error, void *Priv)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function type defines the error callback. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">AieInst</td><td>- pointer to the AIE instance which the error is from. </td></tr>
    <tr><td class="paramname">Loc</td><td>- Tile location. Indicates which tile the error is from. </td></tr>
    <tr><td class="paramname">Module</td><td>- Module type XAIEGBL_MODULE_CORE, XAIEGBL_MODULE_PL, XAIEGBL_MODULE_MEM </td></tr>
    <tr><td class="paramname">Error</td><td>- Error event id 48 - 69 for Core module 87 - 100 for Memory module 62 - 72 for SHIM PL module </td></tr>
    <tr><td class="paramname">Priv</td><td>- Argument of the callback which has been registered by applicaiton. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Indicate if the error has been handled or not. XAIETILE_ERROR_HANDLED, XAIETILE_ERROR_NOTHANDLED If it returns XAIETILE_ERROR_HANDLED, AIE driver will not take further action, otherwise, AIE driver will trap the application. </dd></dl>

</div>
</div>
<a class="anchor" id="a0b8a82584030791b354e2567f944d49e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XAieTile_EventCallBack)(<a class="el" href="struct_x_aie_gbl.html">XAieGbl</a> *AieInst, XAie_LocType Loc, u8 Module, u8 Event, void *Priv)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function type defines event callback. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">AieInst</td><td>- pointer to the AIE instance which the event is from. </td></tr>
    <tr><td class="paramname">Loc</td><td>- Tile location. Indicates which tile the event is from. </td></tr>
    <tr><td class="paramname">Module</td><td>- Module type XAIEGBL_MODULE_CORE, XAIEGBL_MODULE_PL, XAIEGBL_MODULE_MEM </td></tr>
    <tr><td class="paramname">Error</td><td>- Error event id 48 - 69 for Core module 87 - 100 for Memory module 62 - 72 for SHIM PL module </td></tr>
    <tr><td class="paramname">Priv</td><td>- Argument of the callback which has been registered by applicaiton. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Indicate if the error has been handled or not. XAIETILE_ERROR_HANDLED, XAIETILE_ERROR_NOTHANDLED If it returns XAIETILE_ERROR_HANDLED, AIE driver will not take further action, otherwise, AIE driver will trap the application. </dd></dl>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="a38e051514f617efcf9fcd7c149686d4e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xaiegbl_8h.html#a38e051514f617efcf9fcd7c149686d4e">XAieGbl_ErrorHandleStatus</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>enum XAieGbl_ErrorHandleStatus - error handled status </p>
<p>: error has handled : error has not handled completely, expect driver default action. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ad6422e72b033ca8d8456af7432d1fd11"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAieGbl_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_aie_gbl.html">XAieGbl</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_aie_gbl___tile.html">XAieGbl_Tile</a> *&#160;</td>
          <td class="paramname"><em>TileInstPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_aie_gbl___config.html">XAieGbl_Config</a> *&#160;</td>
          <td class="paramname"><em>ConfigPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is the global initialization function for all the tiles of the AIE array and also for the Shim tiles. </p>
<p>The initialization involves programming the Tile instance data structure with the required parameters of the tile, like base addresses for Core module/Memory module/NoC module/Pl module, Stream switch configuration, Lock configuration etc.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>- Global AIE instance structure. </td></tr>
    <tr><td class="paramname">ConfigPtr</td><td>- Global AIE configuration pointer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_aie_gbl___config.html#a900a4a5a7781f9086f85929a187a5c05">XAieGbl_Config::ArrOffset</a>, <a class="el" href="struct_x_aie_gbl___tile.html#ac2d3e05eb2c91c4acd247a30294657ec">XAieGbl_Tile::ColId</a>, <a class="el" href="struct_x_aie_gbl.html#a9c2332098e39ee4a7906b6609d052a50">XAieGbl::Config</a>, <a class="el" href="struct_x_aie_gbl___tile.html#acb64f719ffdbd3d60f35a9d500eea6b4">XAieGbl_Tile::CoreModAddr</a>, <a class="el" href="struct_x_aie_gbl___tile.html#aed708d317ad8460b6f5e18b4d04a6d4d">XAieGbl_Tile::IsReady</a>, <a class="el" href="struct_x_aie_gbl.html#a8024c5684dcff87e1da578f16b73d13a">XAieGbl::IsReady</a>, <a class="el" href="struct_x_aie_gbl___tile.html#ad0b9bac7f4ea1a85b44b92c90bc12eda">XAieGbl_Tile::LockAddr</a>, <a class="el" href="struct_x_aie_gbl___tile.html#ac6c4759dc3e7922500782847a4a47e4a">XAieGbl_Tile::MemModAddr</a>, <a class="el" href="struct_x_aie_gbl___tile.html#a35d6071fc5f7fd25c4a0c5705d6e1e6e">XAieGbl_Tile::NocModAddr</a>, <a class="el" href="struct_x_aie_gbl___config.html#a10cc43c99e192e686de1adfccfece1bb">XAieGbl_Config::NumCols</a>, <a class="el" href="struct_x_aie_gbl___config.html#a1877b993d1f0878175039cbf0c0825c7">XAieGbl_Config::NumRows</a>, <a class="el" href="struct_x_aie_gbl___tile.html#a76d5964e5852893f7a6312008f69a0df">XAieGbl_Tile::PlModAddr</a>, <a class="el" href="struct_x_aie_gbl___tile.html#ac03cd2da6ba757671e46f0bd24ff84b5">XAieGbl_Tile::RowId</a>, <a class="el" href="struct_x_aie_gbl___tile.html#a39ea4a300c6ee7e2a6b2b463f1eadb7c">XAieGbl_Tile::StrmSwAddr</a>, <a class="el" href="struct_x_aie_gbl___tile.html#a7c04a73941e64980a264a9d529fbb571">XAieGbl_Tile::TileAddr</a>, <a class="el" href="struct_x_aie_gbl.html#a98df3208427d63ba640d1ff5093adf54">XAieGbl::Tiles</a>, <a class="el" href="struct_x_aie_gbl___tile.html#aadd948557d2723faa0cf47419e7d8a6e">XAieGbl_Tile::TileType</a>, <a class="el" href="xaielib_8c.html#afdc31b0bb30d8c0015f40e5ac047b8cd">XAieLib_InitDev()</a>, <a class="el" href="xaielib_8c.html#aef3dab7b9235d8b5fd82fb51d0955286">XAieLib_InitTile()</a>, and <a class="el" href="xaietile__event_8c.html#af98f8dee51d1017df85522613522492d">XAieTile_EventsSetupDefaultHandlers()</a>.</p>

<p>Referenced by <a class="el" href="xaie-events_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="ac2dbe8c9e25ce298bffbc257a95ec530"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAieGbl_HwInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_aie_gbl___hw_cfg.html">XAieGbl_HwCfg</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is the routine to initialize the HW configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CfgPtr,:</td><td>Pointer to the HW configuration data structure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_aie_gbl___hw_cfg.html#a21536b409a299ac3e4eee6013d06f303">XAieGbl_HwCfg::ArrayOff</a>, <a class="el" href="struct_x_aie_gbl___config.html#a900a4a5a7781f9086f85929a187a5c05">XAieGbl_Config::ArrOffset</a>, <a class="el" href="struct_x_aie_gbl___config.html#a10cc43c99e192e686de1adfccfece1bb">XAieGbl_Config::NumCols</a>, <a class="el" href="struct_x_aie_gbl___hw_cfg.html#ad6b7fee60b721424a8840113f0f026c9">XAieGbl_HwCfg::NumCols</a>, <a class="el" href="struct_x_aie_gbl___config.html#a1877b993d1f0878175039cbf0c0825c7">XAieGbl_Config::NumRows</a>, and <a class="el" href="struct_x_aie_gbl___hw_cfg.html#a386ee289463f3cfe2021b59d34158a41">XAieGbl_HwCfg::NumRows</a>.</p>

<p>Referenced by <a class="el" href="xaie-events_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a23b3cabaf60670f82d0d6ccf92e2876a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_aie_gbl___config.html">XAieGbl_Config</a>* XAieGbl_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Looks up the device configuration based on the unique device ID. </p>
<p>A table contains the configuration info for each device in the system.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique identifier for a device.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the <a class="el" href="struct_x_aie_gbl.html" title="The XAie driver instance data. ">XAieGbl</a> configuration structure for the specified device, or NULL if the device was not found.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xaie-events_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
